﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Entity;
using Kovan.Model.Entity.UserCenter;
using Kovan.Model.Entity.Config;

namespace Kovan.DAL
{
    public class MysqlContext : DbContext
    {
        //用户权限模块
        public DbSet<act_user> act_user { get; set; }
        public DbSet<act_application> act_application { get; set; }
        public DbSet<act_authority> act_authority { get; set; }
        public DbSet<act_dept> act_dept { get; set; }
        public DbSet<act_module> act_module { get; set; }
        public DbSet<act_role> act_role { get; set; }
        public DbSet<act_role_authority> act_role_authority { get; set; }
        public DbSet<act_user_role> act_user_role { get; set; }

        //常用模块
        public DbSet<tb_link> tb_link { get; set; }
        public DbSet<tb_picgroup> tb_picgroup { get; set; }
        public DbSet<tb_picture> tb_picture { get; set; }
        public DbSet<tb_news> tb_news { get; set; }
        public DbSet<tb_newsData> tb_newsData { get; set; }
        public DbSet<tb_ad> tb_ad { get; set; }
    }
}
